﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;

namespace Jwell.Template.Test
{
    class Program
    {
        static void Main(string[] args)
        {
            //var text = File.ReadAllText(@"C:\Code\WorkCode\Jwell\Services\Jwell.SSO\Jwell.SSO.sln");
            //var regex = new Regex(@"""(..\\[\w\W]+?)"", """);
            //var mathes = regex.Matches(text);
            var fullPath = @"C:\Code\WorkCode\Jwell\Services\Jwell.SSO\demo1.cs";
            var relativePath = @"C:\Code\WorkCode\Jwell\Services\Jwell.SSO\test\demo2.cs";
            var file1=new Uri(fullPath);
            var file2=new Uri(relativePath);
            var result = file2.MakeRelativeUri(file1).ToString();
        }
    }
}
